package com.snail.permission.runtime.option;

import androidx.annotation.NonNull;
import com.snail.permission.runtime.PermissionRequest;
import com.snail.permission.runtime.setting.SettingRequest;

/**
 * @author zhaoyan
 * @date 2019-03-18
 */
public interface RuntimeOption {

    /**
     * One or more permissions.
     */
    PermissionRequest permission(@NonNull String... permissions);

    /**
     * One or more permission groups.
     */
    PermissionRequest permission(@NonNull String[]... groups);

    /**
     * Permission settings.
     */
    SettingRequest setting();
}